From 1dc7e3d8857671bee379851f2560775c36992ecf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Jard=C3=B3n?= Date: Sat, 30 Oct 2010 06:53:44 +0200 Subject: [PATCH] Emphasize that GtkBox and GtkTable can be replaced by GtkGrid --- docs/reference/gtk/tmpl/gtktable.sgml | 2 ++ gtk/gtkbox.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/docs/reference/gtk/tmpl/gtktable.sgml b/docs/reference/gtk/tmpl/gtktable.sgml index 22503eaa39..6264b6eea3 100644 --- a/docs/reference/gtk/tmpl/gtktable.sgml +++ b/docs/reference/gtk/tmpl/gtktable.sgml @@ -32,11 +32,13 @@ either side of the widget it belongs to. gtk_table_set_homogeneous(), can be used to set whether all cells in the table will resize themselves to the size of the largest widget in the table. + Note that #GtkGrid provides the same capabilities as GtkTable for arranging widgets in a rectangular grid, and additionally supports height-for-width geometry management. + diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index 50e827de85..ef519686bb 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -75,8 +75,12 @@ * #GtkBox:fill and #GtkBox:padding child properties. * Use gtk_box_query_child_packing() to query these fields. * + * + * * Note that a single-row or single-column #GtkGrid provides exactly the * same functionality as #GtkBox. + * + * */ #include "config.h" -- 2.30.2